projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c9e7f
)
(Fgoto_char): If POSITION is a marker pointing a
author
Richard M. Stallman
<rms@gnu.org>
Fri, 20 Mar 1998 05:00:31 +0000
(
05:00
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 20 Mar 1998 05:00:31 +0000
(
05:00
+0000)
different buffer, don't rely on the byte position of the marker.
src/editfns.c
patch
|
blob
|
history
diff --git
a/src/editfns.c
b/src/editfns.c
index d5b204e6923bb357d3883b64c02bcde4eac28529..1a72bf02929edb89c81689cbe5c1845e4becd023 100644
(file)
--- a/
src/editfns.c
+++ b/
src/editfns.c
@@
-203,7
+203,8
@@
except in the case that `enable-multibyte-characters' is nil.")
int pos;
unsigned char *p;
- if (MARKERP (position))
+ if (MARKERP (position)
+ && current_buffer == XMARKER (position)->buffer)
{
pos = marker_position (position);
if (pos < BEGV)